package com.insurance.service;

import java.util.List;
import com.insurance.bean.Question;


public interface QuestionService {

	public void save(Question question);

	public void update(Question question);

	public Question getQuestion(Integer questionid);

	public void delete(Integer questionid);

	public List<Question> getQuestions();
	
	public List<Question> getQuestionsByUser(String userName);
	
	public List<Question> getQuestionsTop10();

	public List<Question> getQuestionsTop5();
	
}